﻿.datetime-picker-default-skin {
    position: absolute;
    overflow: visible;

    &.on .datetime-picker-group {
        opacity: 1;
        visibility: visible;
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        -webkit-transform: translate(0,0);
        transform: translate(0,0);
    }
}

.datetime-picker-group {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    -moz-transition: .2s linear;
    -o-transition: .2s linear;
    -webkit-transition: .2s linear;
    transition: .2s linear;
    width: 340px;
    background: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    z-index: 2;
    border-top: 1px solid #ddd;
    padding: 5px 2px;
    -moz-transform: translate(0,-5px);
    -ms-transform: translate(0,-5px);
    -o-transform: translate(0,-5px);
    -webkit-transform: translate(0,-5px);
    transform: translate(0,-5px);


    .header {
        text-align: center;
        overflow: hidden;
        /*.dtp-left {
            float: left;
        }

        .dtp-right {
            float: right;
        }*/
        .dtp-left, .dtp-right {
            width: 30px;
            height: 30px;
            line-height: 30px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            font-weight: bold;
            color: #444;
            text-align: center;
            display: block;
            margin: 0 auto;

            &:hover {
                background: #eee;
            }
        }

        .year {
            height: 30px;
            line-height: 30px;
            overflow: hidden;
            font-size: 1.4rem;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            font-weight: bold;
            color: #444;

            &:hover {
                background: #eee;
            }
        }
    }

    table {
        width: 100%;
        border: none;
        padding: 0;
        margin: 0;

        td, th {
            text-align: center;
            height: 40px;
            line-height: 40px;
            font-size: 1.1rem;
            padding: 3px 0;
        }

        td {

            a {
                color: #444;
                display: block;
                -moz-border-radius: 50%;
                -webkit-border-radius: 50%;
                border-radius: 50%;
                width: 40px;
                margin: 0 auto;
                border: 1px solid transparent;

                &:hover {
                    background: #eee;
                }
            }

            &.on {
                a {
                    background: #0090ff;
                    color: #fff;
                }
            }

            &.not-active {
                a {
                    background: transparent !important;
                    color: #ddd !important;
                    cursor: default;
                }
            }
        }

        td.graw {
            a {
                color: #999;
            }
        }
    }

    .select-month, .select-year {
        td {
            height: 70px;
            line-height: 70px;

            a {
                width: 70px;
            }
        }
    }

    .select-year {
        tr:nth-child(2) td:first-child a {
            color: #999;
        }

        tr:last-child td:last-child a {
            color: #999;
        }
    }
}
